<template>
    <view class="bottom-wrapper">
        <view class="submit-btn" @click="submit">提交</view>
    </view>
</template>

<script>
export default {
	methods:{
		submit(){
			this.$emit('submit')
		},
	}
}
</script>

<style lang="scss">
.bottom-wrapper {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
    height: 120rpx;
    padding: 20rpx 40rpx;
    box-sizing: border-box;
    background-color: $color-white;
    box-shadow: 0rpx -4rpx 8rpx 0rpx rgba(0, 0, 0, 0.1);
	z-index: 10;

    .submit-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        border-radius: 44rpx;
        background-color: $app-color-main;
        color: $color-white;
    }
}
</style>
